package com.qiaofang.service;

import com.qiaofang.common.response.CommonResponse;

import java.util.List;

/**
 * 渠道-V10交互
 */
public interface V10ApiService {

    /**
     * 推送楼盘
     *
     * @param premisesIds
     * @return
     */
    CommonResponse pushPremisesToV10(Long devCompanyId, Long agentCompanyId, List<Long> premisesIds);

    /**
     * 同步删除V10中的楼盘
     * @param premisesId
     * @return
     */
    CommonResponse deletePremisesToV10(Long premisesId);

    /**
     * 同步将V10中报备转为无效报备
     * @param id
     * @return
     */
    CommonResponse deleteReportToV10(Long id);

    /**
     * 推送楼盘动态
     * @param dynamicId
     * @return
     */
    CommonResponse pushDynamicToV10(Long dynamicId);

}
